<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>账户添加页面</title>
    <link rel="stylesheet" href="../../../yl/index.css" />
    <!-- 布局样式 -->
    <link rel="stylesheet" href="../../../yl/style.css" />
    <link rel="stylesheet" href="../../../yl/mobile.css" />
    <link rel="stylesheet" href="../../../yl/easyui.css" />
    <link rel="stylesheet" href="../../../yl/icon.css" />
    <link rel="stylesheet" href="../../../style/pdf_viewer.min.css">
</head>

<body>
    <!-- <div id="app"> -->
    <div class="easyui-navpanel" id="app" v-cloak>
        <header>
            <div class="m-toolbar">
                <div class="m-title">帮扶记录</div>
            </div>
        </header>
        <div class="easyui-navpanel panel-body panel-body-nobottom panel-body-noborder" style="height: 3000px">
            <div class="yl-main">
                <div class="table_titel" style="flex-shrink: 0;">
                    <div class="titel">帮扶明细</div>
                </div>
                <el-descriptions style="flex-shrink: 0;" :column="3" size="large" border>
                    <el-descriptions-item>
                        <template #label>
                            <div class="cell-item">帮扶任务名称</div>
                        </template>
                        <el-input disabled class="borderless-input" v-model="dataForm.Assistance_Name"
                            placeholder="请输入帮扶任务名称" />
                    </el-descriptions-item>
                    <el-descriptions-item>
                        <template #label>
                            <div class="cell-item">被帮扶党员</div>
                        </template>
                        <el-select disabled clearable v-model.trim="dataForm.Assisted_Party_Member_SerialNumber"
                            placeholder="请选择被帮扶党员" filterable style="width: 100%">
                            <el-option v-for="(item,index) in assistance" :key="index" :label="item.Personal_Name"
                                :value="item.Party_Member_SerialNumber"></el-option>
                        </el-select>
                    </el-descriptions-item>
                    <el-descriptions-item>
                        <template #label>
                            <div class="cell-item">帮扶党组</div>
                        </template>
                        <el-select disabled clearable v-model.trim="dataForm.Assisting_Party_Organization_SerialNumber"
                            placeholder="请选择帮扶党组" filterable style="width: 100%">
                            <el-option v-for="(item,index) in organization" :key="index"
                                :label="item.Party_Organization_Name"
                                :value="item.Party_Organization_SerialNumber"></el-option>
                        </el-select>
                    </el-descriptions-item>
                    <el-descriptions-item>
                        <template #label>
                            <div class="cell-item">最低帮扶次数</div>
                        </template>
                        <el-input disabled class="borderless-input" v-model="dataForm.Assistance_Numbers"
                            placeholder="请输入帮扶次数" />
                    </el-descriptions-item>
                    <el-descriptions-item>
                        <template #label>
                            <div class="cell-item">家庭情况</div>
                        </template>
                        <el-input disabled type="textarea" :autosize="{ minRows: 2}" class="borderless-input"
                            v-model="dataForm.Assistance_Situation" placeholder="请输入家庭情况" />
                    </el-descriptions-item>
                    <el-descriptions-item>
                        <template #label>
                            <div class="cell-item">帮扶措施</div>
                        </template>
                        <el-input disabled class="borderless-input" v-model="dataForm.Measure" placeholder="请输入帮扶措施" />
                    </el-descriptions-item>
                </el-descriptions>
                <div class="table_titel" style="flex-shrink: 0;">
                    <div class="titel">帮扶记录</div>
                </div>
                <el-table tooltip-effect="dark" :data="Data"  border height="100%">
                    <el-table-column width="50" align="center" type="index"></el-table-column>
                    <el-table-column min-width="180" align="center" prop="Assistance_Log_SerialNumber" label="帮扶记录流水号"></el-table-column>
                    <el-table-column min-width="180" align="center" prop="Assistance_Name" label="帮扶任务名称"></el-table-column>
                    <el-table-column min-width="180" align="center" prop="Personal_Name" label="被帮扶党员"></el-table-column>
                    <el-table-column min-width="180" align="center" prop="Party_Organization_Name" label="帮扶党组织"></el-table-column>
                    <el-table-column min-width="180" align="center" prop="Assistance_Type_Name" label="帮扶类型"></el-table-column>
                    <el-table-column min-width="180" align="center" prop="Measure" label="帮扶措施"></el-table-column>
                    <el-table-column min-width="180" align="center" prop="Assistance_Date" label="帮扶日期"></el-table-column>
                    <el-table-column min-width="180" align="center" prop="Assistance_Person_SerialNumber" label="帮扶人"></el-table-column>
                    
                    <el-table-column min-width="180" show-overflow-tooltip align="center" prop="Effect" label="帮扶效果">
                        <template v-slot="{row}">
                            <div v-html="row.Effect"></div>
                        </template>
                    </el-table-column>
                    <el-table-column min-width="240" align="center" label="操作" fixed="right" >
                        <template v-slot="{row}">
                            <el-button size="small" @click="handleHF(row)">回访</el-button>
                            <el-button size="small" @click="handleHFShow(row)">查看回访</el-button>
                            <el-button size="small" @click="handlePreview(row)">预览附件</el-button>
                        </template>
                    </el-table-column>
                </el-table>
            </div>
           
            <yl-online-preview :file-url="fileUrl" v-model="dialog"></yl-online-preview>
        </div>
        <footer class="botton-ann">
            <el-button @click="goBack">返回</el-button>
        </footer>
    </div>
</body>
<script src="../../../utils/utils.js"></script>
<script src="../../../config/config.js"></script>
<script src="../../../utils/mixins.js"></script>
<script src="../../../yl/vue.js"></script>
<script src="../../../yl/index.js"></script>
<script src="../../../yl/zh-cn.mjs"></script>
<script src="../../../yl/index.iife.min.js"></script>
<script src="../../../yl/jquery.min.js"></script>
<script src="../../../utils/jquery.cookie.js"></script>
<script src="../../../yl/jquery.easyui.min.js"></script>
<script src="../../../yl/jquery.easyui.mobile.js"></script>
<script src="../../../yl/moment.min.js"></script>
<script src="../../../api/request.js"></script>
<script src="../../../utils/xlsx.full.min.js"></script>
<script src="../../../utils/pdf.min.js"></script>
<script src="./js/show.js"></script>

</html>